package com.cherrypt.api.common.enums;

import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public enum RoleEnum {
    ROLE_USER(1, "ROLE_USER", "用户"),
    ROLE_ADMIN(2, "ROLE_ADMIN", "管理员"),
    ROLE_STAFF_LEADER(3, "ROLE_STAFF_LEADER", "站长"),
    ROLE_SYSOP(4, "ROLE_SYSOP", "维护开发员"),
    ROLE_VIP(5, "ROLE_VIP", "VIP"),
    ROLE_WAREHOUSE(6, "ROLE_WAREHOUSE", "保种员"),
    ROLE_UPLOADER(7, "ROLE_UPLOADER", "发布员"),
    ROLE_FORUM_MODERATOR(8, "ROLE_FORUM_MODERATOR", "论坛版主"),
    ROLE_MODERATOR(9, "ROLE_MODERATOR", "总版主");

    private int id;
    private String name;
    private String description;

    RoleEnum(int id, String name, String description) {
        this.id = id;
        this.name = name;
        this.description = description;
    }
}
